import {defineStore} from "pinia";

interface UserInfo {
  token: string,
  username: string,
}

export const userInfo = defineStore('users', {
  state: () => {
    return {} as UserInfo;
  },
  getters: {

  },
  actions: {

  },
  // 开启store持久化
  persist: true
})